home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
CUGUK
/
PC_LIBS
/
C045.ZIP
/
CBEAUT.ARC
/
README.DOC
< prev
Wrap
Text File
|
1988-09-18
|
2KB
|
44 lines
09-18-88
The following files are contained within the CB210.ARC archive file:
CB.EXE - C Beautifier Executable (v2.1)
CB.C - C Beautifier source code
README.DOC - This readme file
ETERNITY.TXT - A message I hope you will consider
CB is a "C" source code beautifier. It reformats the "layout" of C source to
a (hopefully) more readable style and format. If you are like me you have your
own preference for how C source code should be formatted; and you sometimes
wish that you could rearrange someone else's source to look more like your
preferred format.
I found CB.C in the "C User's Group" library over a year ago. There were no
comments (UGH!!) so I spent about 2 days just figuring out how it worked.
Then I modified it to format C source according to the way I like to look at
it. I also added some command line switches to allow the formatting to be
customized to some extent. CB.EXE has been compiled under Microsoft C 5.0
and linked with SETARGV.OBJ which allows the use of wildcards in the input
file specification.
For example, the following command will beautify all the .C source files in
the current directory:
CB *.C
The original .C files will be renamed to .BAK.
+------------------------------------------------------------------------------+
| |
| I hope you will carefully read the ETERNITY.TXT file. I believe that the |
| message is very important and has eternal consequences. I'm glad that I can |
| share CB with you, but I am convinced that the "Good News" is the best thing |
| I can ever share with you. |
| |
+------------------------------------------------------------------------------+
Bob Sledge
Compuserve 76515,2620